#ifndef BSP_HOME_SWITCH_H__
#define BSP_HOME_SWITCH_H__
#include <stdint.h>
typedef enum
{
    HOMED = 0,
    AWAY = 1,
}home_status_t;

typedef enum
{
    FIRST_SWITCH = 0,
    SECOND_SWITCH = 1,
}switch_serial_num_t;

home_status_t getHomeSwitchRawStatus(switch_serial_num_t serial_num);
void homeSwitchFilterStatus(switch_serial_num_t serial_num, int16_t *p_count, volatile home_status_t* p_home_switch_sta);

#endif
